/**
 * Created by Delicate on 2017/5/31.
 */
require(["jquery","common"],()=>{
    init();
    monitor();
    service();
})
const init = ()=>{

}
const monitor = ()=>{
    $(".g-hot .u-down-more-icon").on("click",function(){
        $(".g-hot .u-bottom-active").removeClass("u-bottom-active");
        $(this).parent().parent(".u-bottom").addClass("u-bottom-active");
    });
}
const service = ()=>{

}
const taskDetail = id =>{
    window.location.href = "/platform/task/detail?id="+id;
}
const fairDetail = id =>{
    window.location.href = "/platform/fair/detail?id="+id;
}